import store from './store';

import {
  createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp () {
  const app = createSSRApp(App)
  // 关键：挂载 Vuex Store（必须调用 app.use(store)）
  app.use(store);
  return {
    app
  }
}
